<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>通用列表</title>
    <link rel="stylesheet" href="../static/css/reset.css">
    <link rel="stylesheet" href="../static/plus/eleme.css">
    <link rel="stylesheet" href="../static/css/style_xia.css">
</head>
<body>
<div id="app" class="form">
    <mt-header fixed :title="data.title" v-if="data">
        <mt-button icon="back" slot="left"></mt-button>
        <mt-button icon="more" slot="right"></mt-button>
    </mt-header>
    <section class="content">
        <div class="search-box">
            <mt-search v-model="value"></mt-search>
        </div>
        <div class="list-box" v-if="data" :class="data.type" v-html="data.template">

        </div>
    </section>
    <v-footer></v-footer>
</div>
<script src="../static/plus/vue.js"></script>
<script src="../static/plus/eleme.js"></script>
<script src="../static/js/common.js"></script>
<script>
    window.onload = function () {
        var vm = new Vue({
            el: "#app",
            data: {
                value: null,
                /* data:{},*/
                /*  data:{
                 type:'news',
                 title:'新闻',
                 template:'<div class="item">'+
                 '<div class="title">重庆市地理信息中心综合办公平台网址</div>'+
                 '<div class="part"><span class="label">发布人：</span><span class="text">王斌</span></div>'+
                 '<div class="part"><span class="label">更新时间：</span><span class="text">2013-03-21 21:21</span></div>'+
                 '</div>'+
                 '<div class="item">'+
                 '<div class="title">重庆市地理信息中心综合办公平台网址</div>'+
                 '<div class="part"><span class="label">发布人：</span><span class="text">王斌</span></div>'+
                 '<div class="part"><span class="label">更新时间：</span><span class="text">2013-03-21 21:21</span></div>'+
                 '</div>'+
                 '<div class="item">'+
                 '<div class="title">重庆市地理信息中心综合办公平台网址</div>'+
                 '<div class="part"><span class="label">发布人：</span><span class="text">王斌</span></div>'+
                 '<div class="part"><span class="label">更新时间：</span><span class="text">2013-03-21 21:21</span></div>'+
                 '</div>'+
                 '<div class="item">'+
                 '<div class="title">重庆市地理信息中心综合办公平台网址</div>'+
                 '<div class="part"><span class="label">发布人：</span><span class="text">王斌</span></div>'+
                 '<div class="part"><span class="label">更新时间：</span><span class="text">2013-03-21 21:21</span></div>'+
                 '</div>'
                 }*/
                /*   data: {
                 type: 'wait-do',
                 title: '未办任务',
                 template: '<div class="item">' +
                 '<div class="title">任务类别</div>' +
                 '<div class="part">任务类别1</div>' +
                 '<div class="title">任务信息</div>' +
                 '<div class="part">任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1</div>' +
                 '<div class="part"><span class="label">更新时间：</span><span class="text">2013-03-21 21:21</span></div>' +
                 '</div>' +
                 '<div class="item">' +
                 '<div class="title">任务类别</div>' +
                 '<div class="part">任务类别1</div>' +
                 '<div class="title">任务信息</div>' +
                 '<div class="part">任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1</div>' +
                 '<div class="part"><span class="label">更新时间：</span><span class="text">2013-03-21 21:21</span></div>' +
                 '</div>' +
                 '<div class="item">' +
                 '<div class="title">任务类别</div>' +
                 '<div class="part">任务类别1</div>' +
                 '<div class="title">任务信息</div>' +
                 '<div class="part">任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1</div>' +
                 '<div class="part"><span class="label">更新时间：</span><span class="text">2013-03-21 21:21</span></div>' +
                 '</div>' +
                 '<div class="item">' +
                 '<div class="title">任务类别</div>' +
                 '<div class="part">任务类别1</div>' +
                 '<div class="title">任务信息</div>' +
                 '<div class="part">任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1任务信息1</div>' +
                 '<div class="part"><span class="label">更新时间：</span><span class="text">2013-03-21 21:21</span></div>' +
                 '</div>'
                 }*/
                data: {
                 type: 'work-done',
                 title: '已办任务',
                 template: '<div class="item">' +
                 '<div class="title">会议安排流程</div>' +
                 '<div class="part"><span class="label">发起人：</span><span class="text">王斌</span></div>' +
                 '<div class="part"><span class="label">到达时间：</span><span class="text">2018-01-21 12:22</span></div>' +
                 '<div class="part"><span class="label">办理时间：</span><span class="text">2018-01-22 12:22</span></div>' +
                 '<div class="part"><span class="label">办理方式：</span><span class="text">被终止</span></div>' +
                 '<div class="part"><span class="label">任务信息：</span><span class="text">2018年11周工作安排</span></div>' +
                 '</div>' +

                 '<div class="item">' +
                 '<div class="title">会议安排流程</div>' +
                 '<div class="part"><span class="label">发起人：</span><span class="text">王斌</span></div>' +
                 '<div class="part"><span class="label">到达时间：</span><span class="text">2018-01-21 12:22</span></div>' +
                 '<div class="part"><span class="label">办理时间：</span><span class="text">2018-01-22 12:22</span></div>' +
                 '<div class="part"><span class="label">办理方式：</span><span class="text">被终止</span></div>' +
                 '<div class="part"><span class="label">任务信息：</span><span class="text">2018年11周工作安排</span></div>' +

                 '</div>' +
                 '<div class="item">' +
                 '<div class="title">会议安排流程</div>' +
                 '<div class="part"><span class="label">发起人：</span><span class="text">王斌</span></div>' +
                 '<div class="part"><span class="label">到达时间：</span><span class="text">2018-01-21 12:22</span></div>' +
                 '<div class="part"><span class="label">办理时间：</span><span class="text">2018-01-22 12:22</span></div>' +
                 '<div class="part"><span class="label">办理方式：</span><span class="text">被终止</span></div>' +
                 '<div class="part"><span class="label">任务信息：</span><span class="text">2018年11周工作安排</span></div>' +

                 '</div>' +
                 '<div class="item">' +
                 '<div class="title">会议安排流程</div>' +
                 '<div class="part"><span class="label">发起人：</span><span class="text">王斌</span></div>' +
                 '<div class="part"><span class="label">到达时间：</span><span class="text">2018-01-21 12:22</span></div>' +
                 '<div class="part"><span class="label">办理时间：</span><span class="text">2018-01-22 12:22</span></div>' +
                 '<div class="part"><span class="label">办理方式：</span><span class="text">被终止</span></div>' +
                 '<div class="part"><span class="label">任务信息：</span><span class="text">2018年11周工作安排</span></div>' +
                 '</div>'
                 }
                /*  data: {
                 type: 'meeting',
                 title: '一周会议安排',
                 template: '<div class="item">' +
                 '<div class="title">2018年第10周工作安排(03.05-03.09)</div>' +
                 '<div class="title">局工作安排(03.05-03.09)</div>' +
                 '<div class="part"><span class="label">发布时间：</span><span class="text">2018-01-21 12:22</span></div>' +
                 '</div>' +

                 '<div class="item">' +
                 '<div class="title">2018年第10周工作安排(03.05-03.09)</div>' +
                 '<div class="title">局工作安排(03.05-03.09)</div>' +
                 '<div class="part"><span class="label">发布时间：</span><span class="text">2018-01-21 12:22</span></div>' +
                 '</div>' +
                 '<div class="item">' +
                 '<div class="title">2018年第10周工作安排(03.05-03.09)</div>' +
                 '<div class="title">局工作安排(03.05-03.09)</div>' +
                 '<div class="part"><span class="label">发布时间：</span><span class="text">2018-01-21 12:22</span></div>' +
                 '</div>' +
                 '<div class="item">' +
                 '<div class="title">2018年第10周工作安排(03.05-03.09)</div>' +
                 '<div class="title">局工作安排(03.05-03.09)</div>' +
                 '<div class="part"><span class="label">发布时间：</span><span class="text">2018-01-21 12:22</span></div>' +
                 '</div>'
                 }*/
            },
            methods: {},
            created() {

            },
            mounted() {
                setSectionHeight();
            }
        })
    }
</script>
</body>
</html>


















